package com.hgw.Demo04_BuilderPattern.Exercises6_7_5;

/**
 * Data time:2021/12/13 10:48
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class MemoryModeBuilder extends  VideoPlayerBuilder{
    @Override
    public void buildMenu() {
        videoPlayer.setMenu("没有菜单");
    }

    @Override
    public void buildPlaylist() {
        videoPlayer.setPlaylist("没有播放列表");
    }

    @Override
    public void buildMainWindow() {
        videoPlayer.setMainWindow("主窗口");
    }

    @Override
    public void buildControlBar() {
        videoPlayer.setControlBar("控制条");
    }

    @Override
    public void buildFavoriteList() {
        videoPlayer.setFavoriteList("收藏列表");
    }

    @Override
    public boolean isMenu() {
        return false;
    }

    @Override
    public boolean isPlaylist() {
        return false;
    }

}
